<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        /* 字体声明 */
        @font-face {
            font-family: 'icomoon';
            src: url('fonts/icomoon.eot?uqzo2w');
            src: url('fonts/icomoon.eot?uqzo2w#iefix') format('embedded-opentype'),
                url('fonts/icomoon.ttf?uqzo2w') format('truetype'),
                url('fonts/icomoon.woff?uqzo2w') format('woff'),
                url('fonts/icomoon.svg?uqzo2w#icomoon') format('svg');
            font-weight: normal;
            font-style: normal;
            font-display: block;
        }
      
        div {
              /* 给div声明字体图标 */
            font-family: 'icomoon';
            /* 因为它是字体，可以指定字体大小、颜色等 */
            font-size: 40px;
            color: springgreen;
        }
    </style>
</head>
<body>
    <div>  </div>
</body>
</html>